package de.app.fbc.user

import javax.jdo.annotations.*;
import com.google.appengine.api.datastore.Key;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true")
class UserGruppen implements Serializable {

	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	Long id

	@Persistent
 	Key rolleId
	
	Key gruppeId
	
	@Persistent
 	Key userId
	
    static constraints = {
    	id( visible:false)
	}
}
